COSMOS: A Hybrid N-Body/Hydrodynamics Code for Cosmological Problems
نویسنده
چکیده
We describe a new hybrid N -body/hydrodynamical code based on the particle-mesh (PM) method and the piecewise-parabolic method (PPM) for use in solving problems related to the evolution of large-scale structure, galaxy clusters, and individual galaxies. The code, named COSMOS, possesses several new features which distinguish it from other PM-PPM codes. In particular, to solve the Poisson equation we have written a new multigrid solver which can determine the gravitational potential of isolated matter distributions and which properly takes into account the finite-volume discretization required by PPM. All components of the code are constructed to work with a nonuniform mesh, preserving second-order spatial differences. The PPM code uses vacuum boundary conditions for isolated problems, preventing inflows when appropriate. The PM code uses a second-order variable-timestep time integration scheme. Radiative cooling and cosmological expansion terms are included. COSMOS has been implemented for parallel computers using the Parallel Virtual Machine (PVM) library, and it features a modular design which simplifies the addition of new physics and the configuration of the code for different types of problems. We discuss the equations solved by COSMOS and describe the algorithms used, with emphasis on these features. We also discuss the results of tests we have performed to establish that COSMOS works and to determine its range of validity. Subject headings: Methods: numerical — hydrodynamics — dark matter — gravitation — large-scale structure of universe — intergalactic medium Department of Astronomy & Astrophysics, University of Chicago, Chicago, IL 60637 Fermi National Accelerator Laboratory, Batavia, IL 60510
منابع مشابه
COSMOS: A Radiation-Chemo-Hydrodynamics Code for Astrophysical Problems
We have developed a new massively-parallel radiation-hydrodynamics code (Cosmos) for Newtonian and relativistic astrophysical problems that also includes radiative cooling, self-gravity, and non-equilibrium, multi-species chemistry. Several numerical methods are implemented for the hydrodynamics, including options for both internal and total energy conserving schemes. Radiation is treated using...
متن کاملA Hybrid Cosmological Hydrodynamic/n-body Code Based on the Weighted Essentially Non-oscillatory Scheme
We describe a newly developed cosmological hydrodynamics code based on the weighted essentially non-oscillatory (WENO) schemes for hyperbolic conservation laws. High order finite difference WENO schemes are designed for problems with piecewise smooth solutions containing discontinuities, and have been successful in applications for problems involving both shocks and complicated smooth solution ...
متن کاملA Hybrid Cosmological Hydrodynamic/N-body Code Based on a Weighted Essentially Non-Oscillatory Scheme
We present a newly developed cosmological hydrodynamics code based on weighted essentially non-oscillatory (WENO) schemes for hyperbolic conservation laws and related Hamilton-Jacobi equations. WENO is a higher order accurate finite difference scheme designed for problems with piecewise smooth solutions containing discontinuities, and has been successful in application for problems involving bo...
متن کاملThe cosmological simulation code GADGET - 2
We discuss the cosmological simulation code GADGET-2, a new massively parallel TreeSPH code, capable of following a collisionless fluid with the N-body method, and an ideal gas by means of smoothed particle hydrodynamics (SPH). Our implementation of SPH manifestly conserves energy and entropy in regions free of dissipation, while allowing for fully adaptive smoothing lengths. Gravitational forc...
متن کاملA new multidimensional AMR Hydro+Gravity Cosmological code
A new cosmological multidimensional hydrodynamic and N-body code based on an Adaptive Mesh Refinement scheme is described and tested. The hydro part is based on modern high-resolution shock-capturing techniques, whereas N-body approach is based on the Particle Mesh method. The code has been specifically designed for cosmological applications. Tests including shocks, strong gradients, and gravit...
متن کامل